package com.pet.system.domain.vo;

import com.pet.system.domain.entity.SysUser;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;

/**
 * 用户VO模型 用于前端业务传参解析
 *
 * @author Centaurea
 */
@ApiModel("用户VO模型")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SysUserVO extends SysUser {
  /** 角色IDs */
  @ApiModelProperty("用户拥有角色IDs")
  private List<Integer> roleIds;
  /** 弱角色场景，资源IDs */
  private List<Integer> resourceIds;
}
